$OpenBSD: patch-qt_poppler-private_h,v 1.1 2012/07/13 15:04:46 kili Exp $
--- qt/poppler-private.h.orig	Mon Jul  9 19:01:04 2012
+++ qt/poppler-private.h	Mon Jul  9 19:53:26 2012
@@ -77,7 +77,7 @@ class DocumentData {
             white[1] = 255;
             white[2] = 255;
             m_outputDev = new SplashOutputDev(splashModeXBGR8, 4, gFalse, white);
-            m_outputDev->startDoc(doc.getXRef());
+            m_outputDev->startDoc(&doc);
         }
 #endif
         return m_outputDev;
